package com.ygl.dao;

import com.ygl.entity.ItemCatEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author： ygl
 * @date： 2019/02/04
 * @Description：
 */
@Mapper
public interface ItemCatDao {
    @Select("select id as id , parent_id as parentId ,name as name, img as img,status as status , is_parent as  isParent, created as created ,updated as updated from tb_item_cat")
    public List<ItemCatEntity> allItemCat();
}
